package cn.org.donald.framework.pojo.dto;

import cn.org.donald.framework.annotation.ListSize;
import cn.org.donald.framework.base.BaseModel;

import java.util.List;

/**
 * 接收id集合实体
 * @author : Donald
 * @since : 2020/12/17 14:20
 */
public class IdsDto extends BaseModel {

    @ListSize(min = 1,message = "ids集合不能为空,且最小size为1")
    private List<Long> ids;

    public List<Long> getIds() {
        return ids;
    }

    public void setIds(List<Long> ids) {
        this.ids = ids;
    }
}
